//
//  TreeView.h
//  CarLife
//
//  Created by yu on 2019/9/23.
//  Copyright © 2019 jpas. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class DepartmentModel;

typedef void(^SelectDeptBlock)(DepartmentModel *dModel);
typedef void(^CancelBlock)(void);
typedef void(^ConfirmBlock)(DepartmentModel *dModel);

@interface TreeView : UIView

@property (nonatomic, strong) NSArray *deptArray;

@property (nonatomic, copy) CancelBlock cancelBlock;
@property (nonatomic, copy) ConfirmBlock confirmBlock;

- (void)updateSelectStatus;

@end

NS_ASSUME_NONNULL_END
